package com.toweave.starter.beans;

public class TestBean<T> extends BaseBean {
  private int id;
  private String createdAt;
  private T data;

  public TestBean(int id, String createdAt) {
    this.id = id;
    this.createdAt = createdAt;
  }

  // getter and setter methods
  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public String getCreatedAt() {
    return createdAt;
  }

  public void setCreatedAt(String createdAt) {
    this.createdAt = createdAt;
  }


  private T getData() {
    return data;
  };

  private void setData(T data) {
    this.data = data;
  };
}
